package smartt.styy.auth.model.request;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@JsonAutoDetect(fieldVisibility = Visibility.ANY, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class TelPhoneLoginReq {

	@ApiModelProperty(value = "手机号", required = true)
	@Setter @Getter
	private String mobile;
	
	@ApiModelProperty(value = "密码", required = true)
	@Setter @Getter
	private String passwd;
	
	@ApiModelProperty(value = "短信验证码", required = true)
	@Setter @Getter
	private String smsCode;
	
	@ApiModelProperty(value = "用户类型  1:游客，2：导游，3：旅行社，4,：游企（景区，酒店），5：政府", required = true)
	@Setter @Getter
	private Integer userType;
	
	@ApiModelProperty(value = "IP地址", required = false)
	@Setter @Getter
	private String ip;

}
